package dao;
import entity.Goods;

public interface IBaseDao {
	boolean save(Goods goods);
	boolean sale(String name);
	boolean updateById(Goods goods,int id);
	Goods[] selectAll();
	Goods selectById(int id);
	Goods selectByName(String name);
	Goods[] selectByPrice(double lowPrice, double highPrice);
	Goods[] selectAllSoldOutGoods();
}
